//
//  SecondViewController.m
//  UITableView通讯录HomeWork
//
//  Created by dllo on 16/8/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SecondViewController.h"

@interface SecondViewController ()
@property (nonatomic, strong)UIImageView *image;
@property (nonatomic, strong)UILabel *labelname;
@property (nonatomic, strong)UILabel *labelNumber;
@property (nonatomic, strong)UILabel *labelAddress;
@end

@implementation SecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
      self.view.backgroundColor = [UIColor whiteColor];
      self.edgesForExtendedLayout = UIRectEdgeNone;
      _image.frame = CGRectMake(10, 20, 374, 374);
      [self.view addSubview:_image];
      _image.image = [UIImage imageNamed:_per.Icon];
      _labelname.frame = CGRectMake(390, 20, 200, 40);
      [self.view addSubview:_labelname];
      _labelname.text = _per.name;
      
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
